const api = {
    userLogin: '/login.do',
    loginOut: '/loginout.do',
    qrApiUrl: "https://xiapi.roctc.com/xiapi/qrcode.do?data=",
    root: 'https://byjtwms.roctc.com',
    testRoot: "http://localhost:8080",

    uploadTradeUrl: process.env.NODE_ENV == 'production' ?
        "https://byjtwms.roctc.com/common/image/trade.action" : 
        "http://localhost:8080/common/image/trade.action",
    baiduUrl: "https://www.baidu.com/s?ie=UTF-8&wd=",
    newHost: '',
    testNewHost: ''
}

export default api;